package 接口;

public class InterfaceDemo {
    public static void main(String[] args) {
        Inter i=new InterImpl();
        //i.num=20;
        System.out.println(i.num);
        //i.num2=40;
        System.out.println(i.num2);
        System.out.println(Inter.num);
        i.show();
        i.method();
        ((InterImpl)i).sleep();
    }
}
